package com.go.where.manager.dao;

import java.util.List;

import com.go.where.manager.pojo.MsgCustomerRelation;

public interface MsgCustomerRelationDao extends BaseDao<MsgCustomerRelation>{

	/**
	 * 批量插入消息-客户中间表记录
	 * 
	 * @param relations
	 * @return
	 */
	public int saveMsgCustomers(List<MsgCustomerRelation> relations);

	/**
	 * 获取messageId对应的客户信息
	 * 
	 * @param messageId
	 * @return
	 */
	public List<MsgCustomerRelation> queryRelations(String messageId);

}
